import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import MyTao from '@/components/MyTao.vue'
import MyButton from '@/components/MyButton.vue'
import MyTable from '@/components/MyTable.vue'
import MyTest from '@/components/MyTest.vue'
import MyTableFastMock from '@/components/MyTableFastMock.vue'
import Department from '@/components/Department.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/tao',
      name: 'MyTao',
      component: MyTao
    },
    {
      path: '/button',
      name: 'MyButton',
      component: MyButton
    },
    {
      path: '/table',
      name: 'MyTable',
      component: MyTable
    },
    {
      path: '/test',
      name: 'MyTest',
      component: MyTest
    },
    {
      path: '/fastmock',
      name: 'MyTableFastMock',
      component: MyTableFastMock
    },
    {
      path: '/dept',
      name: 'Department',
      component: Department
    }
  ]
})
